/**
 *
 */
package com.zhuoyue.elmt.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 应急救援发送日志Entity
 * @author JiangYH
 * @version 2017-04-08
 */
public class WbEmergencyHelpLog extends DataEntity<WbEmergencyHelpLog> {
	
	private static final long serialVersionUID = 1L;
	private String regpushid;		// 极光设备号
	private String notificationTitle;		// 通知标题
	private String msgTitle;		// 消息标题
	private String msgContent;		// 内容
	private String extrasparam;		// 扩张参数
	
	public WbEmergencyHelpLog() {
		super();
	}

	public WbEmergencyHelpLog(String id){
		super(id);
	}

	@Length(min=1, max=100, message="极光设备号长度必须介于 1 和 100 之间")
	public String getRegpushid() {
		return regpushid;
	}

	public void setRegpushid(String regpushid) {
		this.regpushid = regpushid;
	}
	
	@Length(min=0, max=100, message="通知标题长度必须介于 0 和 100 之间")
	public String getNotificationTitle() {
		return notificationTitle;
	}

	public void setNotificationTitle(String notificationTitle) {
		this.notificationTitle = notificationTitle;
	}
	
	@Length(min=1, max=100, message="消息标题长度必须介于 1 和 100 之间")
	public String getMsgTitle() {
		return msgTitle;
	}

	public void setMsgTitle(String msgTitle) {
		this.msgTitle = msgTitle;
	}
	
	@Length(min=1, max=1000, message="内容长度必须介于 1 和 1000 之间")
	public String getMsgContent() {
		return msgContent;
	}

	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}
	
	@Length(min=1, max=1000, message="扩张参数长度必须介于 1 和 1000 之间")
	public String getExtrasparam() {
		return extrasparam;
	}

	public void setExtrasparam(String extrasparam) {
		this.extrasparam = extrasparam;
	}
	
}